package eam

import org.codehaus.groovy.ast.MethodNode

/**
 * Created by Misty on 2015/6/6.
 */
class DebugUtil {
    static void dump(MethodNode methodNode) {
        println "---------------------------------------"
        println "${methodNode.text}                         // ${methodNode.class.simpleName}"
        methodNode.code.visit(new EAMGroovyCodeVisitor())
        println "---------------------------------------"
    }
}
